﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Tender.Tool.View
{
    public partial class UserControl1_2 : UserControl
    {
        public UserControl1_2()
        {
            InitializeComponent();
        }
        /// <summary>
        /// 第一个参数合同  第二个参数单位名称
        /// </summary>
        public Action<string,string> Action_Click { get; set; }
        private void uiButton1_Click(object sender, EventArgs e)
        {
            Action_Click?.Invoke(uiTextBox1.Text.Trim(),uiTextBox2.Text.Trim());
        }
    }
}
